package com.csw.android.dev_utils.utils

import java.text.SimpleDateFormat
import java.util.*

object DateUtils {

    fun getCurrDate(): Date {
        return Date()
    }

    fun getCurrDateString(format: String ="yyyyMMdd_HHmmss_SSS"): String {
        val sdf = SimpleDateFormat(format, Locale.CHINA)
        return sdf.format(getCurrDate())
    }

}